package com.gym.common.redis.controller;

import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import com.gym.common.redis.service.BackDoorService;


/**
 * @author wangxinchun1988@163.com
 * @date 2015-12-23 下午2:44:47
 */
@Controller
@RequestMapping("/info")
public class BackDoorController {
	private final Logger logger = LoggerFactory.getLogger(getClass());

	@Autowired
	private BackDoorService infoServiceWrapper;
	
	@RequestMapping("/detail")
	@ResponseBody
	public ModelAndView infoDetail(long id) {
		logger.info("enter infoDetail");
		Map<String, Object> model = new HashMap<String, Object>();
		logger.info("exit infoDetail");
		return new ModelAndView("/detail",model);
	}
}
